package com.gpj.sqlbuilder.store.sql;

import com.gpj.sqlbuilder.annotations.ExcelDynamicOrder;
import com.gpj.sqlbuilder.annotations.ExcelOrder;
import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

/**
 * @className Index
 * @description TODO
 * @author GPJ
 * @date 2020/3/18 16:47
 * @version 1.0
 **/
@Getter
public class Index {
    @ExcelOrder(value = 0, required = true)
    private String tableName;

    @ExcelOrder(value = 1, required = true)
    private String indexName;

    @ExcelDynamicOrder(start = 2)
    private List<Column> columns = new ArrayList<>();
}
